package com.felix.feign;

import com.felix.component.DcHystric;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * DcClient
 *
 * @author xuejinhua
 * @date 2018/9/3 9:51
 */
@FeignClient(value = "eureka-client", fallback = DcHystric.class)
public interface DcClient {

    @GetMapping("/dc")
    String consumer();

}
